package com.wrl.mmall.service;

import java.util.List;

import com.wrl.mmall.common.ServerResponse;
import com.wrl.mmall.pojo.Category;

public interface ICategoryService {

	//添加商品分类
    ServerResponse addCategory(String categoryName, Integer parentId);
    //修改分类名字
    ServerResponse updateCategoryName(String categoryName, Integer parentId);
    //获取下面一层 商品分类详情
    ServerResponse<List<Category>> getChildrenParallelCategory(Integer categoryId);
    //获取下面所有层 商品分类id
    ServerResponse<List<Integer>> selectCategoryAndChildrenById(Integer categoryId);
    
}
